Integrated circuit that can be externally tested through a normal signal output pin

ABSTRACT

An integrated circuit can be tested externally at its normal signal output pin(s) without requiring additional testing output pins or test measuring pads. The integrated circuit includes a circuit unit that generates a normal output signal provided to the signal output pin in a normal operating mode and generates a test signal in a testing mode, a switching element that selectively does or does not connect the test signal from the circuit unit to the signal output pin, and a control unit that controls the switching element with a control signal responsive to the potential level present at the signal output pin. When the circuit is to be tested, a defined voltage is applied to the signal output pin by a voltage divider formed of resistors between a supply voltage and a reference voltage. This causes the control unit to close the switching element.

CROSS-REFERENCE TO RELATED APPLICATION

[0001] This application is a Divisional of U.S. application Ser. No. 10/021,746, filed Dec. 11, 2001, the entire disclosure of which is incorporated herein by reference.

BACKGROUND

[0002] 1. Field of the Invention

[0003] The present invention relates to a circuit arrangement including an integrated circuit that can be externally tested.

[0004] 2. Description of the Related Technology

[0005] In the case of integrated circuits (ICs), electrical measurements are made after the manufacturing process in order to test the circuits. The high degree of complexity makes it necessary to measure not only the output signals of the entire circuit but also the signals of individual internal functional groups of a circuit. In the development phase, additional internal contact surfaces, so-called measuring pads which are assigned to the individual circuit blocks, are integrated for this purpose. Function checks can be performed at these measuring pads provided that the integrated circuits are not yet enclosed in a casing. In the case of the finished integrated circuits, some of the measuring pads are linked to external bond pads for the purpose of checking the correct function, and also in order to measure the signals to be tested at additional output pins even in the assembled state. Both the additional measuring pads within the integrated circuits as well as the additional pins on the finished IC require an additional area which, in the case of miniaturization, increases as a percentage of the whole.

[0006] Examples for the previous method are provided by known integrated circuits (IC), such as the U2548 and U2521 from the ATMEL Germany GmbH company, for example. In these cases, a part of the measuring pads present within the integrated circuit was linked to additional measuring pads in order to test signals of individual circuit functions.

[0007] Another method working according to the previous state-of-the-art is known from the publication EP 0535776 B1. A test mode is activated at an additional input pin by an available signal and by means of an internal logic in order to thus apply selected signals, which are to be tested, of individual circuit units of the integrated circuit at the additional input pins of the integrated circuit.

[0008] The disadvantage of the known methods according to the state of the art is that the areas needed for the function checks occupy a substantial part of the total area of the circuit, particularly in the case of small, but highly integrated circuits, in which the area is divided between the measuring pads within the circuit and the additional pins which are needed for the external measurement of the signals. Because of the large part of the total chip area, this gives rise to a substantial proportion of the total cost of a circuit. This has a negative effect on profitability, particularly in the case of small circuits which are manufactured in large numbers.

SUMMARY OF THE INVENTION

[0009] The object of the present invention is to provide a circuit arrangement in which the internal signals of an integrated circuit are made available for external function checks with the use of already existing signal output pins. A further object of the invention is to specify a circuit arrangement which can be easily and economically manufactured.

[0010] The above objects have been achieved according to the invention in a circuit arrangement that can be externally tested through an output pin, comprising an integrated circuit that comprises a signal output pin; a circuit unit having a test signal output; a control unit having a testing input connected to the signal output pin for testing a potential at the signal output pin, and having a control output providing a control signal responsive to the testing of the potential; and a switching element having a signal input connected to the test signal output of the circuit unit, a switched signal output connected to the signal output pin, and a control input connected to the control output of the control unit.

[0011] Accordingly, the essence of the invention lies in switching the signals generated by a circuit unit within an integrated circuit, which are not measurable at the outputs in the normal operating mode, as test signals to the existing signal outputs for function checks. To do this, a defined potential value is applied to at least one signal output of the integrated circuit while the supply voltage is available, and the integrated circuit is thus switched into a test mode. A test signal generated by a circuit unit of the integrated circuit is thus applied at the signal output. In order to be able to achieve a reliable switchover into the test mode, it is necessary for the potential value applied at the signal output to be different from the value of the output voltage available at the signal output in normal operation of the integrated circuit. It is particularly advantageous if the potential value is applied or set at the signal output by means of a passive component, for example by a resistor.

[0012] In comparison to the previous state of the art, it is advantageous that internal measuring pads do not have to be provided for the individual circuit elements of the circuit unit during the circuit design, and chip area is thus saved.

[0013] Moreover, no additional pins or thus bond pads are needed for switching the integrated circuit into a test mode or for measuring the test signals. Particularly in the case of integrated circuits with signal outputs which are designed as “open collectors” with “pull up” resistors, a potential value, with which the integrated circuit can be switched into a test mode, can be set in a very inexpensive manner by means of a resistor. Moreover, it is irrelevant to the new method whether or not an input signal is available at a signal input of the integrated circuit. In particular, the output signals of circuit elements of the integrated circuit which is to be tested, which has an oscillator stage for example, can be made available as test signals at the signal output. Moreover, it is also possible to measure the test signal if there is an input signal available at the signal input of the integrated circuit, in order to check, in particular, the signal processing circuit elements of the circuit unit.

[0014] In a development of the invention, a plurality of potential values can also be applied at the signal output. By assigning each of the potential values to a different test signal, different test signals can be measured one after the other at a single signal output. In the case of integrated circuits which have only a single signal output, this enables different test signals to be analyzed one after the other at a single signal output with low circuit complexity.

[0015] In a further development of the invention, it is advantageous to test the values of the potential values applied at the signal output for conformity with a reference value by means of a control unit during a defined time window before switching the integrated circuit into the test mode, and to switch the integrated circuit into the test mode in a second time window provided that the potential value available at the signal output corresponds to the defined reference value. In so doing, it is advantageous if the potential value set at the signal output remains constant over time and the test signal represents an alternating voltage. The direct voltage components can thus be easily separated with an external measurement arrangement. In comparison to the previous state of the art, an integrated circuit can be switched into a test mode by means of a single resistor in a particularly simple and inexpensive manner with the method according to the invention.

[0016] In the case of a plurality of signal outputs, it is possible, in a development of the invention, for the control unit to test the potential value set at a first signal output and apply the test signal at another, e.g. second, signal output. The advantages of this are that there is no superimposition with the set direct voltage value and that a direct voltage offset of the test signal can be measured.

[0017] In another development of the invention, the control unit performs a Boolean logic operation with the potential value set at the signal output and a signal of a circuit component of the circuit unit. An AND logic operation with the negative signal value enables, for example, the integrated circuit to be prevented from being switched into a test mode by a potential available at the signal output. For this purpose, it is advantageous if the logic operation is performed with a control voltage from an output stage of the integrated circuit. This embodiment of the invention enables the test signal in the test mode to be prevented from being superimposed at the signal output on the output signals available in normal operation, that is if input signals are available for example, in a particularly reliable manner.

[0018] Investigations by the applicant have shown that it is advantageous if different test signals are selected as a function of the voltage values set at the signal output, in that, for example, specific parts of the circuit within the circuit unit are activated or deactivated by the control unit when there are defined potential values. In this manner, defined signal shapes can be generated in the case of the test signals with or without an available input signal.

[0019] In a further development of the invention, the integrated circuit is switched into the test mode if the potential value available at the signal output of the integrated circuit lies within a voltage interval of a voltage window discriminator. In so doing, it is advantageous if the signal heights of the test signals, that is their amplitudes and their direct voltage offsets, are set by means of signal amplifiers so that the direct voltage offset of the respective test signal corresponds to the potential value set at the signal output, and the maximum amplitude of the test signal lies within the interval defined by the respective window discriminator. Crosstalk between adjacent windows of the discriminators can be prevented in this way provided that a plurality of window discriminators are used. Furthermore, the direct voltage value at the signal output is little changed.

[0020] The present, new circuit arrangement can be used in an advantageous manner for implementing the invention. An advantage of the integration of a control unit and at least one switching element according to the present invention is that all internal measuring pads may be eliminated while incurring little additional circuit complexity. Another advantage is that a single resistor, which is connected externally to the signal output, is sufficient to switch the integrated circuit into a test mode if the supply voltage is available.

BRIEF DESCRIPTION OF THE FIGURES

[0021] The circuit arrangement according to the invention is described in the following by means of example embodiments in conjunction with the drawings. They show:

[0022]FIG. 1 A first circuit arrangement according to the invention,

[0023]FIG. 2 A second circuit arrangement according to the invention, and

[0024]FIG. 3 A third circuit arrangement with plural output pins.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] The object of the integrated circuit IC shown in FIG. 1 is to apply the output signals from a circuit unit as test signals to a signal output of the integrated circuit provided that, at the signal output, an externally applied potential value, which can be set by means of an external resistor for example, corresponds to a defined reference value. The integrated circuit IC has an input pin IN and an output pin OUT for this purpose. The output pin OUT is externally linked to a reference potential RV via a node 100 which is connected to a resistor W1 by means of a switch T1 or to a resistor W2 by means of a switch T2. Furthermore, the integrated circuit has another pin at which a supply voltage VS is available and a pin which is linked to the reference potential RV.

[0026] There are two functional units within the integrated circuit IC. The first functional unit contains the circuit functions needed for normal operation of the integrated circuit, which are represented, with the exception of a load element RL connected as a “pull up” between the voltage VDD and a node 50, by a circuit unit SCH. The second functional unit carries out the test mode detection, and comprises a control unit ST and a first and a second voltage-controlled switching element E1 and E2. The circuit unit or element SCH has a first input which is linked to the signal input IN of the integrated circuit IC, and a second input at which a signal MS is available, and a first output line which is linked to the control unit ST, a second output line which is linked to the switching element E1, at which a signal SW1 which is to be tested is available, and a third output line which is linked to the switching element E2, at which a signal SW2 which is to be tested is available. The circuit unit includes plural internal circuit blocks CB1 and CB2, which may respectively provide the signals SW1 and SW2. The outputs of the two switching elements E1 and E2 are linked to the node 50. Furthermore, the node 50 is linked to the signal output OUT of the integrated circuit IC and by a conductor 5 to the control unit ST. The control unit ST has a first output, at which the signal MS is available, which is linked to a control input of the switching element E1 and to the second input of the circuit unit SCH, and a second output which is linked to a control input of the switching element E2.

[0027] The principle of operation of the circuit is explained in the following. In this connection, a differentiation can be made between two operating modes of the integrated circuit.

[0028] In the first operating mode, the resistor W1 is separated by the switch T1 from the signal output OUT. As there is thus no potential available at the signal output OUT of the integrated circuit IC that corresponds to the value predefined by the control unit ST, the integrated circuit is not switched into the test mode. Provided that an input signal ES is available at the input pin IN, a derived signal OS is applied to the control unit ST at the first output of the circuit unit SCH. The control unit ST passes the signal on the line 5 unchanged on to the node 50, and thus applies the signal OS as an output signal to the output OUT of the integrated circuit IC.

[0029] In the second operating mode, a defined potential is set at the output OUT by means of the switch T1 connecting the resistor W1 to the load element RL, as a result of which the integrated circuit IC is switched into a test mode. A circuit arrangement for potential detection is illustrated in FIG. 2. By the switchover into the test mode, a predefined circuit block within the circuit unit SCH, which outputs the signal SW1 to the switching element E1, is selected from the control unit ST by means of the signal MS. Furthermore, the switching element E1 is closed by the signal MS, and the signal SW1 is applied at the signal output OUT as a test signal. The test signal SW1 is an alternating voltage signal in order to minimize the effect on the direct voltage potential at the node 50. If the resistor W1 is separated from the signal output OUT by means of the switch T1, the potential at the node 50 increases to the voltage VDD, and the control unit ST switches the integrated circuit IC back into the normal operating state, that is the signal SW1 is separated from the node 50 by means of the switching element E1, and the selection of the predefined circuit block is cancelled by the signal MS.

[0030] The object of the integrated circuit IC shown in FIG. 2 is to supply an alternating voltage signal in normal operation. Whereas the external wiring of the integrated circuit IC is identical with the embodiment illustrated in FIG. 1, an advantageous implementation of a control unit ST is presented in a further development of the embodiment in FIG. 1. In the embodiment illustrated, the switchover of the integrated circuit into the test mode is a function of the result of a logical operation of the set potential value and the control signal of an output stage of the integrated circuit IC. The input IN is linked to a first input of a circuit element SCH1 within the integrated circuit IC. Furthermore, the circuit element SCH1 has a second input at which a signal MS is available, and a first output at which a signal OS is available which is linked to a node 10, and a second output, at which a first signal S1 which is to be tested is available, which is linked to a non-inverting input of a first amplifier LE1, and a third output, at which a second signal S2, which is to be tested is available, which is linked to a non-inverting input of a second amplifier LE2. Furthermore, the input of a signal output stage AS, for example an impedance amplifier, and at any one time a first negative input 20 and 30 of an AND logic gate L1 and L2 are additionally linked to the node 10. The output of the signal output stage AS is linked to the node 50, to which are linked, apart from the signal output OUT, a load resistor RL downstream of the voltage VDD and in each case the output of a voltage-controlled switching element E1 and a voltage-controlled switching element E2. Furthermore, a first non-inverting input of a comparator I1 and a first non-inverting input of a comparator I2 are linked to the node 50. A lower threshold voltage V1 is available at the inverting input of the comparator I1, which together with the second upper threshold voltage V2 available at the inverting input of the comparator I2 forms a first voltage window discriminator. The output of the comparator I1 is linked to an affirmative input of an AND logic gate L1, and the output of the second comparator I2 is linked to a second negative input of the AND logic gate L1. The output of the logic gate L1, at which a signal SE1 (MS) is available, is linked to both the control input of a switching element E1 and to the second input of the circuit unit SCH1. Furthermore, the node 50 is linked to a first non-inverting input of a comparator I3 and to a first non-inverting input of a comparator I4. A lower threshold voltage V3 is available at the inverting input of the comparator I3, which together with the upper threshold voltage V4 available at the inverting input of the comparator I4 forms a second voltage window discriminator. The output of the comparator I3 is linked to an affirmative input of an AND logic gate L2, and the output of the comparator I4 is linked to the second negative input of the AND logic gate L2. The outlet of the logic gate L2, at which a signal SE2 is available, is linked to the control input of a switching element E2. Furthermore, a reference voltage P1 is available at the inverting input of the amplifier LE1. The output of the amplifier LE1, at which the signal SW1 is available, is linked to the node 50 via the voltage-controlled switching element E1. Furthermore, a reference voltage P2 is available at the inverting input of the regulated amplifier LE2.

[0031] The output of the amplifier LE2, at which the signal SW2 is available, is linked to the node 50 via the voltage-controlled switching element E2.

[0032] The principle of operation of the integrated circuit IC depending upon the external wiring is described in the following. There are two different operating modes.

[0033] In the first operating mode, which represents the normal operating mode, an input signal ES is available at the signal input IN, from which the circuit unit SCH1 derives the input signal OS for the output amplifier AS. As a signal is available at the node 10 and thus at both of the first inputs of the logic gates L1 and L2, the result of the two AND logic operations is “false”. The potential of the node 50 is thus not taken into consideration, that is even a potential value set by the resistor W1 would not switch the integrated circuit into the test mode. As a result, both the voltage-controlled switching elements E1 and E2 remain open. The amplified signal OS is available at the signal output OUT, whereby this represents the output signal of the integrated circuit IC in normal operation.

[0034] In the second operating mode, there is no signal OS available at the node 10. The integrated circuit IC is thus switched into a test mode by an external wiring, provided that the potential value set at the node 50 lies within the interval of one of the two window discriminators. In the illustrated embodiment, a potential, which lies within the voltage interval given by the first window discriminator, is set at the node 50 by means of the switch T1 connecting the resistor W1 to the load element RL. As the signals only have the correct polarity at the three inputs of the logic gate L1, only the result of the AND logic operation of the logic gate L1 is “true” and the output signal SE1 is switched to “high”. At the same time as the switching element E1 closes, a predefined circuit component in the circuit unit SCH1 is selected by the signal SE1, and a signal shape is generated which is applied in the shape of the signal S1 to the node 50 as signal SW1 by the amplifier LE1. The signal SW1 to be tested is thus available at the signal output OUT. If the switch T1 is opened, the potential at the node 50 increases to above the upper limiting value of the first window discriminator, and the output signal SE1 of the logic gate L1 is switched to “low” because the result of its logic operation is now “false”. The selection of the predefined circuit component is terminated and the switching element E1 separates the signal SW1 from the node 50. The node 50 is raised to the value of the voltage VDD by the load element RL (pull up) so long as no further signals are fed to the node 50.

[0035] If the resistor W2 is linked to the signal output OUT by means of the switch T2, a potential appears at the node 50 which lies within the interval of the second window discriminator. Thus only the result of the logic gate L2 is “true”, and the test signal SW2 is applied to the signal output OUT by means of the switching element E2. If the resistor W2 is separated, the logic gate L2 separates the test signal SW2 from the signal output OUT by means of the switching element E2, and the potential of the node 50 is raised to the value of the voltage VDD.

[0036] So that the two test signals SW1 and SW2 have minimal effect on the prevailing direct voltage value at the node 50, or a coupling with the prevailing other window discriminator does not occur as a result of signals SW1 and SW2 having an excessive alternating voltage amplitude, the signals S1 and S2 are defined by the amplifiers LE1 and LE2 as regards their maximum amplitude as well as the direct voltage offset. In order to achieve the greatest possible amplitude swing, it is advantageous to select the direct voltage offset of the signals SW1 and SW2 so that this lies in the middle of the interval defined by the respective window discriminator. If the respective switching elements E1 and E2 are open, the test signals are only available at the respective inputs of the switching elements E1 and E2.

[0037] In contrast to the logic gate L1, the output of the logic gate L2 is exclusively linked to the control input of the switching element E2. Therefore, a selection, that is an activation or deactivation of circuit functions within the circuit unit SCH1, cannot be made with the signal SE2.

[0038]FIG. 3 schematically shows the above mentioned varied embodiment with an integrated circuit IC having plural output pins OUT1, OUT2. While the defined potential value is applied to the first output pin OUT1 by the resistor W1 or W2 as described above, the signal SW1 or SW2 that is to be tested is provided at the second output pin OUT2.

[0039] Finally, it should be noted that with the inventive method and circuit arrangement, the number of test signals is limited only by the amplitude values of the test signals and the distances required between the individual voltage values available at the signal output. 

What is claimed is:
 1. A circuit arrangement that can be externally tested through an output pin, comprising an integrated circuit that comprises: a signal output pin; a circuit unit having a test signal output; a control unit having a testing input connected to said signal output pin for testing a potential at said signal output pin, and having a control output providing a control signal responsive to the testing of the potential; and a switching element having a signal input connected to said test signal output of said circuit unit, a switched signal output connected to said signal output pin, and a control input connected to said control output of said control unit.
 2. The circuit arrangement according to claim 1, wherein said control unit comprises: an amplifier interposed between said test signal output of said circuit unit and said signal input of said switching element, for amplifying a test signal provided from said test signal output of said circuit unit to provide an amplified test signal via said amplifier and said switching element to said signal output pin; at least two comparators with inputs connected to said testing input of said control unit and forming a voltage window discriminator for comparatively testing the potential at said signal output pin; and a logic gate having at least one input connected to and for performing a logic operation on outputs of said comparators and another output of said circuit unit, and having an output connected to said control output of said control unit, which is connected to said control input of said switching element and which is further connected to said circuit unit for selection of respective circuit elements within said circuit unit.
 3. The circuit arrangement according to claim 1, further comprising at least one resistor connected to a reference voltage externally from said integrated circuit, and a switch arrangement interposed between said at least one resistor and said signal output pin of said integrated circuit for selectively connecting said signal output pin through a selected resistor among said at least one resistor to said reference voltage for establishing said potential at said signal output pin.
 4. The circuit arrangement according to claim 3, wherein said integrated circuit further includes a load resistor connected between said signal output pin and a supply voltage.
 5. The circuit arrangement according to claim 1, wherein: said integrated circuit further includes a signal input pin; and said circuit unit further includes a signal input connected to said signal input pin, and a normal signal output connected to said signal output pin.
 6. The circuit arrangement according to claim 1, wherein said integrated circuit has only a single output pin being said signal output pin, and does not include any external test pin or measurement pad in addition to said signal output pin.
 7. The circuit arrangement according to claim 1, wherein: said signal output pin is a test signal output pin; said integrated circuit further includes a normal signal output pin; said integrated circuit further includes a signal input pin; and said circuit unit further includes a signal input connected to said signal input pin, and a normal signal output connected to said normal signal output pin.
 8. A circuit arrangement that can be externally tested through an output pin, comprising an integrated circuit that comprises: a signal input pin; a signal output pin; a circuit unit having a signal input connected to said signal input pin, a normal signal output connected to said signal output pin, and a first test signal output; a first switching element having a first signal input connected to said first test signal output, a first switched signal output that is connected to said signal output pin and selectively switched relative to said first signal input, and a first switch control input; a control unit having a testing input connected to said signal output pin, and a first control output connected to said first switch control input, wherein said control unit is adapted to provide at said first control output a first control signal responsive to a potential level existing at said signal output pin; and a load resistor connected between a supply voltage and said signal output pin.
 9. The circuit arrangement according to claim 8, further comprising, external to said integrated circuit, a first test trigger switch and a first test trigger resistor connected in series between said signal output pin and a reference voltage different from said supply voltage.
 10. The circuit arrangement according to claim 9, further comprising, external to said integrated circuit, a second test trigger switch and a second test trigger resistor connected in series between said signal output pin and said reference voltage and parallel to said first test trigger switch and said first test trigger resistor.
 11. The circuit arrangement according to claim 8, wherein said control unit further has a normal signal checking input connected to said normal signal output, and said control unit is adapted to alter said first control signal responsive to a normal signal level present at said normal signal checking input.
 12. The circuit arrangement according to claim 8, wherein said circuit unit includes signal processing circuitry adapted to process an input signal received via said signal input to produce a normal output signal at said normal signal output.
 13. The circuit arrangement according to claim 12, wherein said circuit unit further has a circuit unit control input connected to said first control output of said control unit, and said circuit unit further includes test circuitry adapted to provide a test signal at said first test signal output responsive to said first control signal.
 14. The circuit arrangement according to claim 8, wherein said control unit includes first and second comparators respectively having respective first and second comparator inputs connected via said testing input to said signal output pin and respectively having respective first and second comparator outputs, and an AND gate having a non-inverting gate input connected to said first comparator output, an inverting gate input connected to said second comparator output, and a gate output connected to said first control output.
 15. The circuit arrangement according to claim 14, wherein said AND gate further has an inverting third input connected to said normal signal output.
 16. The circuit arrangement according to claim 8, wherein: said circuit unit further has a second test signal output; said integrated circuit further comprises a second switching element having a second signal input connected to said second test signal output, a second switched signal output that is connected to said signal output pin and selectively switched relative to said second signal input, and a second switch control input; and said control unit further has a second control output connected to said second switch control input, and said control unit is adapted to provide at said second control output a second control signal responsive to said potential level existing at said signal output pin. 